import antfu from '@antfu/eslint-config'

export default antfu(
    {
        ignores: [
            'public',
            'dist*',
        ],
    },
    {
        rules: {
            'no-console': 'off',
            'eslint-comments/no-unlimited-disable': 'off',
            'curly': ['error', 'all'],
            'antfu/consistent-list-newline': 'off',
        },
    },
    {
        files: [
            'src/**/*.vue',
        ],
        rules: {
            'vue/block-order': ['error', {
                order: ['route', 'script', 'template', 'style'],
            }],
        },
    },
)
